<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>scorequiz</title>
</head>
<?php

	$fid= $_GET['id'];
?>
<body>
<div>
	<center><font face="Verdana, Geneva, sans-serif" size="5">Your Score!</font></center>
    <br/>
    <br/>
    <br/><br/>
    
<?php  
$answer1=$_POST['answerone'];
$answer2=$_POST['answertwo'];
$answer3=$_POST['answerthree'];
$answer4=$_POST['answerfour'];
$score= 0;


if ($answer1== "A"){$score++;}
if ($answer2== "B"){$score++;}
if ($answer3== "C"){$score++;}
if ($answer4== "D"){$score++;}
echo "<center>Your Score is <br> $score/4</center>";

?>
</div>
</body>
</html>